/*-----------------------------
----$Source: Volumes://MATEOR/vais/modules/include/lds_ts.h$
----$Date: June 30, 2012$
-------------------------------
VAIS Copyright Matthew Caswell, 2012
-----------------------------*/
#ifndef __LDS_TS_H
#define __LDS_TS_H

#define DS_MD		4096

typedef struct{
  char dataStream[DS_MD];
  char* dataSeg[DS_MD];
  char* DS_R;
  char* DS_ptr;
  int index;
  char DS_timestamp[DS_MD][4];
  char DS_datestamp[DS_MD][6];
  char DS_lo[DS_MD][3];
  char DS_m[DS_MD][3];
  char DS_hi[DS_MD][3];
}timeStamp_t;

extern void initTimeStamp (timeStamp_t*, char*);
extern void sortTimeStamp (char[], char**, timeStamp_t*);
extern void parseTimeStamp (timeStamp_t*, int);
extern void h_TimeStamp (timeStamp_t*, char[]);

#endif //__LDS_TS_H
